package com.itheima.user.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Data;

import java.lang.Long;
import java.lang.Integer;

/**
 * 用户角色关联表 实体类。
 *
 * @author mybatis-flex-helper automatic generation
 * @since 1.0
 */
@Data
@Table(value = "user_role")
public class UserRoleEntity {

    /**
     * 用户ID
     */
   @Column(value = "user_id")
    private Long userId;

    /**
     * 角色ID
     */
    @Column(value = "role_id")
    private Integer roleId;
}
